Creates a ExtendedGraphicsState object.
A ExtendedGraphicsState can only be used on pages inside the same PDFDocument that created the ExtendedGraphicsState.
PDFDocument Class